/*******************************************************************************
 * @project: aohuaproject
 * @package: com.aohua.erp
 * @file: ERPBomPayload.java
 * @author: fionn
 * @created: 2015年9月22日
 * @purpose:
 * 
 * @version: 1.0
 * 
 * 
 * Copyright 2015 HAND All rights reserved.
 ******************************************************************************/
package com.aohua.erp;

/**
 * @author fionn
 *
 */
public class ERPBomPayload {

    // PID
    private String pid;
    // 层级
    private int level;
    // 父料代码
    private String parentCode;
    // 父料分类
    private String parentCategory;
    /**
     * @return the parentCategory
     */
    public String getParentCategory() {
        return parentCategory;
    }

    /**
     * @param parentCategory the parentCategory to set
     */
    public void setParentCategory(String parentCategory) {
        this.parentCategory = parentCategory;
    }

    // 查找号
    private String findNum;
    // 子料代码
    private String subCode;
    // (子料)物料属性
    private String subItemFeature;
    // (子料)是否委外加工
    private String subWgjg;
    // （子料）单位
    private String subUnit;
    // （子料）数量
    private String subCount;
    // （子料）素材料号
    private String subSCCode;
    // (子料)毛坯料号
    private String subMPCode;
    // 用量
    private String qty;
    // 替代料
    private String subflag;
    // （1级父料）版本
    private String version;
    // （1级父料）生效日期
    private String effectivityDate;
    // RedLine
    private String redLine;
    // Redline 详情
    private String note;
    // 原编码
    
    
    /**
     * 
     */
    public ERPBomPayload() {
        // TODO Auto-generated constructor stub
    }

    /**
     * @return the pid
     */
    public String getPid() {
        return pid;
    }

    /**
     * @param pid the pid to set
     */
    public void setPid(String pid) {
        this.pid = pid;
    }

    /**
     * @return the level
     */
    public int getLevel() {
        return level;
    }

    /**
     * @param level the level to set
     */
    public void setLevel(int level) {
        this.level = level;
    }

    /**
     * @return the parentCode
     */
    public String getParentCode() {
        return parentCode;
    }

    /**
     * @param parentCode the parentCode to set
     */
    public void setParentCode(String parentCode) {
        this.parentCode = parentCode;
    }

    /**
     * @return the subCode
     */
    public String getSubCode() {
        return subCode;
    }

    /**
     * @param subCode the subCode to set
     */
    public void setSubCode(String subCode) {
        this.subCode = subCode;
    }

    /**
     * @return the subItemFeature
     */
    public String getSubItemFeature() {
        return subItemFeature;
    }

    /**
     * @param subItemFeature the subItemFeature to set
     */
    public void setSubItemFeature(String subItemFeature) {
        this.subItemFeature = subItemFeature;
    }

    /**
     * @return the subWgjg
     */
    public String getSubWgjg() {
        return subWgjg;
    }

    /**
     * @param subWgjg the subWgjg to set
     */
    public void setSubWgjg(String subWgjg) {
        this.subWgjg = subWgjg;
    }

    /**
     * @return the subUnit
     */
    public String getSubUnit() {
        return subUnit;
    }

    /**
     * @param subUnit the subUnit to set
     */
    public void setSubUnit(String subUnit) {
        this.subUnit = subUnit;
    }

    /**
     * @return the subCount
     */
    public String getSubCount() {
        return subCount;
    }

    /**
     * @param subCount the subCount to set
     */
    public void setSubCount(String subCount) {
        this.subCount = subCount;
    }

    /**
     * @return the subSCCode
     */
    public String getSubSCCode() {
        return subSCCode;
    }

    /**
     * @param subSCCode the subSCCode to set
     */
    public void setSubSCCode(String subSCCode) {
        this.subSCCode = subSCCode;
    }

    /**
     * @return the subMPCode
     */
    public String getSubMPCode() {
        return subMPCode;
    }

    /**
     * @param subMPCode the subMPCode to set
     */
    public void setSubMPCode(String subMPCode) {
        this.subMPCode = subMPCode;
    }

    /**
     * @return the qty
     */
    public String getQty() {
        return qty;
    }

    /**
     * @param qty the qty to set
     */
    public void setQty(String qty) {
        this.qty = qty;
    }

    /**
     * @return the altCodes
     */
    public String getSubflag() {
        return subflag;
    }

    /**
     * @param altCodes the altCodes to set
     */
    public void setSubflag(String altCodes) {
        this.subflag = altCodes;
    }

    /**
     * @return the version
     */
    public String getVersion() {
        return version;
    }

    /**
     * @param version the version to set
     */
    public void setVersion(String version) {
        this.version = version;
    }

    /**
     * @return the effectivityDate
     */
    public String getEffectivityDate() {
        return effectivityDate;
    }

    /**
     * @param effectivityDate the effectivityDate to set
     */
    public void setEffectivityDate(String effectivityDate) {
        this.effectivityDate = effectivityDate;
    }

    /**
     * @return the redLine
     */
    public String getRedLine() {
        return redLine;
    }

    /**
     * @param redLine the redLine to set
     */
    public void setRedLine(String redLine) {
        this.redLine = redLine;
    }

    /**
     * @return the note
     */
    public String getNote() {
        return note;
    }

    /**
     * @param note the note to set
     */
    public void setNote(String note) {
        this.note = note;
    }

    /**
     * @return the findNum
     */
    public String getFindNum() {
        return findNum;
    }

    /**
     * @param findNum the findNum to set
     */
    public void setFindNum(String findNum) {
        this.findNum = findNum;
    }
}
